package com.xxin.mapper;

import com.xxin.pojo.dto.RegistryDTO;
import com.xxin.pojo.entity.Registry;
import com.xxin.pojo.vo.RegistryVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
    @author 小欣
    @version 1.0
    @since 1.8
*/
 
public interface RegistryMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Registry record);

    int insertSelective(Registry record);

    Registry selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Registry record);

    int updateByPrimaryKey(Registry record);
    
    List<RegistryVO> selectByCondition(RegistryDTO registryDTO);
	
	void updateStatus(@Param("id") Long id,@Param("status") Integer status);
}